package com.eastedu.model.permission.common;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author yuansongming
 */
@Data
public class ResourceType implements Serializable {
    private static final long serialVersionUID = -1L;

    /**
     * 资源类型ID
     */
    private String id;

    /**
     * 资源类型名称
     */
    private String name;

    /**
     * 子类型ID列表
     */
    private List<ResourceType> children;

    /**
     * 备课包关联资源类型
     */
    private List<ResourceType> relationships;

    /**
     * 下载权限
     */
    private List<FunctionPermission> functionPermissions;
}
